package com.zjw.mapper;

import com.zjw.entity.po.WeiUsers;
import org.apache.ibatis.annotations.Select;


public interface WeiUsersMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(WeiUsers record);

    int insertSelective(WeiUsers record);

    WeiUsers selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(WeiUsers record);

    int updateByPrimaryKey(WeiUsers record);

    /**
     * 根据openid 查询 wei_users是否存在
     */
    @Select(" select * from wei_users where openid=#{openid} ")
    WeiUsers selectWeiUsersByOpenid(String openid);
}